package com.example.DTO;

import java.time.LocalDateTime;

public class OrderselectDTO {
    private int id;
    private String buyername;
    private String productname;
    private double totalprice;
    private LocalDateTime orderdate;
    private String buyerphone;
    private String transaction_location;
    private String confirmation;
    private String stockup;
    private String sendorder;
    private String completion;

    private int applicationId;

    private int applicationStatus;

    public int getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(int applicationId) {
        this.applicationId = applicationId;
    }

    public int getApplicationStatus() {
        return applicationStatus;
    }

    public void setApplicationStatus(int applicationStatus) {
        this.applicationStatus = applicationStatus;
    }

    // 无参构造函数
    public OrderselectDTO(){}

    // 带所有字段的构造函数
    public OrderselectDTO(int id, String buyername, String productname, double totalprice, LocalDateTime orderdate, String buyerphone, String transaction_location, String confirmation, String stockup, String sendorder, String completion) {
        this.id = id;
        this.buyername = buyername;
        this.productname = productname;
        this.totalprice = totalprice;
        this.orderdate = orderdate;
        this.buyerphone = buyerphone;
        this.transaction_location = transaction_location;
        this.confirmation = confirmation;
        this.stockup = stockup;
        this.sendorder = sendorder;
        this.completion = completion;
    }
//    public OrderselectDTO(String productname, double totalprice, LocalDateTime orderdate, String buyerphone, String transaction_location, String confirmation, String stockup, String sendorder, String completion) {
//        this.productname = productname;
//        this.totalprice = totalprice;
//        this.orderdate = orderdate;
//        this.buyerphone = buyerphone;
//        this.transaction_location = transaction_location;
//        this.confirmation = confirmation;
//        this.stockup = stockup;
//        this.sendorder = sendorder;
//        this.completion = completion;
//    }

    public String getConfirmation() {
        return confirmation;
    }

    public void setConfirmation(String confirmation) {
        this.confirmation = confirmation;
    }

    public String getStockup() {
        return stockup;
    }

    public void setStockup(String stockup) {
        this.stockup = stockup;
    }

    public String getSendorder() {
        return sendorder;
    }

    public void setSendorder(String sendorder) {
        this.sendorder = sendorder;
    }

    public String getCompletion() {
        return completion;
    }

    public void setCompletion(String completion) {
        this.completion = completion;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBuyername() {
        return buyername;
    }

    public void setBuyername(String buyername) {
        this.buyername = buyername;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }


    public double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(double totalprice) {
        this.totalprice = totalprice;
    }

    public LocalDateTime getOrderdate() {
        return orderdate;
    }

    public void setOrderdate(LocalDateTime orderdate) {
        this.orderdate = orderdate;
    }

    public String getBuyerphone() {
        return buyerphone;
    }

    public void setBuyerphone(String buyerphone) {
        this.buyerphone = buyerphone;
    }

    public String getTransaction_location() {
        return transaction_location;
    }

    public void setTransaction_location(String transaction_location) {
        this.transaction_location = transaction_location;
    }

}

